package com.ruoyi.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;

import java.util.Date;

/**
 * 推送管理对象 jk_push
 *
 * @author ruoyi
 * @date 2023-09-12
 */
@TableName(value = "jk_push")
public class JkPush
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    @TableId(value = "id",type = IdType.AUTO)
    private Long id;

    /** 推送标题 */
    @TableField(value = "push_title")
    @Excel(name = "推送标题")
    private String pushTitle;

    /** 推送内容 */
    @TableField(value = "push_Content")
    @Excel(name = "推送内容")
    private String pushContent;

    /** 推送类型 */
    @TableField(value = "push_Type")
    @Excel(name = "推送类型")
    private Integer pushType;

    /** 推送模式:1自定义人员 2推送组推送 */
    @TableField(value = "push_model")
    @Excel(name = "推送模式:1自定义人员 2推送组推送")
    private Integer pushModel;

    /** 推送组id */
    @TableField(value = "group_id")
    @Excel(name = "推送组id")
    private Long groupId;

    /** 推送方式：1定时 2立即 */
    @TableField(value = "push_way")
    @Excel(name = "推送方式：1定时 2立即")
    private Integer pushWay;

    /** 定时天数 */
    @TableField(value = "days")
    @Excel(name = "定时天数")
    private String days;

    /** 推送日期 */
    @TableField(value = "push_Time")
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "推送日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date pushTime;

    @TableField(value = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    /** 创建人 */
    @TableField(value = "create_user")
    @Excel(name = "创建人")
    private Long createUser;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setPushTitle(String pushTitle)
    {
        this.pushTitle = pushTitle;
    }

    public String getPushTitle()
    {
        return pushTitle;
    }
    public void setPushContent(String pushContent)
    {
        this.pushContent = pushContent;
    }

    public String getPushContent()
    {
        return pushContent;
    }
    public void setPushType(Integer pushType)
    {
        this.pushType = pushType;
    }

    public Integer getPushType()
    {
        return pushType;
    }
    public void setPushModel(Integer pushModel)
    {
        this.pushModel = pushModel;
    }

    public Integer getPushModel()
    {
        return pushModel;
    }
    public void setGroupId(Long groupId)
    {
        this.groupId = groupId;
    }

    public Long getGroupId()
    {
        return groupId;
    }
    public void setPushWay(Integer pushWay)
    {
        this.pushWay = pushWay;
    }

    public Integer getPushWay()
    {
        return pushWay;
    }
    public void setDays(String days)
    {
        this.days = days;
    }

    public String getDays()
    {
        return days;
    }
    public void setPushTime(Date pushTime)
    {
        this.pushTime = pushTime;
    }

    public Date getPushTime()
    {
        return pushTime;
    }
    public void setCreateUser(Long createUser)
    {
        this.createUser = createUser;
    }

    public Long getCreateUser()
    {
        return createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
